package pl.fit.app;

import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;

public class TopMenu extends JMenuBar{
	
	private JMenu file, help;
	private JMenuItem about;
	
	public TopMenu() {
		file = new JMenu("File");
		help = new JMenu("Help");
		
		about = new JMenuItem("About...");
		
		add(file);
		add(help);
		help.add(about);
	}
	
	public void setAppearance() {
		this.setSize(600,100);
	}
}
